<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>show()函数</title>
	</head>
	<body>
		<script>
			function show(x,y){
				for(var i=x;i<=y;i++){
					document.write(i+"<br />");
				}
			}
			show(2,8);
		</script>
	</body>
</html>
